package com.zatech.cgnci.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;




/**
 * <p>
 * 方案信息主表
 * </p>
 *
 * @author Generator
 * @since 2024-12-17
 */

@Accessors(chain = true)
@TableName("cgnci_annual_insure_plan")
@ApiModel(value = "CgnciAnnualInsurePlanDO对象", description = "方案信息主表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CgnciAnnualInsurePlanDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("方案id")
    @TableId(value = "in_plan_id", type = IdType.ASSIGN_ID)
    private Long inPlanId;

    @ApiModelProperty("流程编号(关联cgnci_approval_info.formNo)")
    private String formNo;

    @ApiModelProperty("方案编号")
    private String inPlanNo;

    @ApiModelProperty("方案名称")
    private String planName;

    @ApiModelProperty("状态(0:录入中,1:审核中,2:退回录入中,3:已完成,4:已注销),码表值:businessStatus")
    private String status;

    @ApiModelProperty(value = "是否生效(1-是, 0-否),码表值:isYes")
    private String isEffective;

    @ApiModelProperty("方案录入人")
    private String planRecorder;

    @ApiModelProperty("方案录入人名称")
    private String planRecorderName;

    @ApiModelProperty("审核人")
    private String checkPerson;

    @ApiModelProperty("审核人姓名")
    private String checkPersonName;

    @ApiModelProperty("方案录入时间")
    private Date claimEntryTime;

    @ApiModelProperty("审核时间")
    private Date checkTime;

    @ApiModelProperty("生效日期")
    private Date effectiveTime;

    @ApiModelProperty("起始日期")
    private Date insCreateTime;

    @ApiModelProperty("结束日期")
    private Date insEndTime;

    @ApiModelProperty("年度")
    private String annual;

    @ApiModelProperty("方案描述")
    private String planDes;

    @ApiModelProperty("方案备注")
    private String remark;

    @ApiModelProperty("是否镜像数据(1-是, 0-否)")
    private String isMirror;

    @ApiModelProperty("删除标志位（0正常，1删除）")
    private String dr;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("创建人员工号")
    private String createUser;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    @ApiModelProperty("更新人员工号")
    private String updateUser;


}
